//
//  ZZQMainTopView.h
//  zzqKanBoKe
//
//  Created by ben on 17/2/7.
//  Copyright © 2017年 张增强. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, ZZQTopType) {
    ZZQTopTypeFocue = 1000,
    ZZQTopTypeHot,
    ZZQTopTypeNear,
};

typedef void(^MainTopBlock)(NSInteger tag);

@interface ZZQMainTopView : UIView

@property(nonatomic, copy)MainTopBlock block;

- (instancetype)initWithFrame:(CGRect)frame titleNames:(NSArray *)titles;

- (void)scrolling:(NSInteger)tag;

@end
